#include "customwidgetcollection.h"
#include <mybuttonplugin.h>
#include <mylabelplugin.h>

CustomWidgetCollection::CustomWidgetCollection(QObject *parent)
    : QObject(parent)
{
    m_widgets.append(new MyButtonPlugin(this));
    m_widgets.append(new MyLabelPlugin(this));
}

QList<QDesignerCustomWidgetInterface *> CustomWidgetCollection::customWidgets() const
{
    return m_widgets;
}
